package com.leps.nq.op.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 泡排补液日志表
 * </p>
 *
 * @author hex
 * @since 2022-06-22
 */
@Getter
@Setter
@TableName("op_bubble_replenish")
@ApiModel(value = "OpBubbleReplenish对象", description = "泡排补液日志表")
public class OpBubbleReplenish implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("补液记录ID")
    @TableId(value = "replenish_id", type = IdType.AUTO)
    private Long replenishId;

    @ApiModelProperty("队伍ID")
    private Integer teamId;

    @ApiModelProperty("队伍名称")
    //@TableField(fill = FieldFill.INSERT)
    private String teamName;

    @ApiModelProperty("补液日期")
    private Date replenishTime;

    @ApiModelProperty("起泡剂类型")
    private String foamerType;
    @ApiModelProperty("起泡剂加注比例")
    private String foamerRate;
    @ApiModelProperty("起泡剂用量")
    private Double foamerDosage;
    @ApiModelProperty("消泡剂类型")
    private String defoamerType;
    @ApiModelProperty("消泡剂加注比例")
    private String defoamerRate;
    @ApiModelProperty("消泡剂用量")
    private Double defoamerDosage;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("归属井ID")
    private Integer wellId;

    @ApiModelProperty("归属井名称")
    //@TableField(fill = FieldFill.INSERT)
    private String wellName;

    @ApiModelProperty("归属泵ID")
    private Integer pumpId;

    @ApiModelProperty("归属泵名称")
    //@TableField(fill = FieldFill.INSERT)
    private String pumpName;

    @ApiModelProperty("归属PLC_ID")
    private Integer plcId;

    @ApiModelProperty("归属PLC名称")
    //@TableField(fill = FieldFill.INSERT)
    private String plcName;

    @ApiModelProperty("归属场站(平台)ID")
    private Integer stationId;

    @ApiModelProperty("归属场站(平台)名称")
    //@TableField(fill = FieldFill.INSERT)
    private String stationName;

    @ApiModelProperty("归属区块ID")
    private Integer areaId;

    @ApiModelProperty("归属区块名称")
    //@TableField(fill = FieldFill.INSERT)
    private String areaName;

    @ApiModelProperty("归属客户ID")
    private Integer custId;

    @ApiModelProperty("归属客户名称")
    //@TableField(fill = FieldFill.INSERT)
    private String custName;

    @ApiModelProperty("删除标志 (0存在 1删除)")
    @TableLogic
    private Integer delFlag;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者")
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新者")
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;
}
